Home
last modified time | relevance | path

Searched hist:"0378 c0a0e9e463b9e31b94fbbbc10f94b34225b6" (Results 1 – 1 of 1) sorted by relevance

/linux/mm/
H A Dmmap.cdiff 0378c0a0e9e463b9e31b94fbbbc10f94b34225b6 Fri Jan 20 17:26:12 CET 2023 Liam R. Howlett <Liam.Howlett@Oracle.com> mm/mmap: remove preallocation from do_mas_align_munmap()

In preparation of passing the vma state through split, the pre-allocation
that occurs before the split has to be moved to after. Since the
preallocation would then live right next to the store, just call store
instead of preallocating. This effectively restores the potential error
path of splitting and not munmap'ing which pre-dates the maple tree.

Link: https://lkml.kernel.org/r/20230120162650.984577-12-Liam.Howlett@oracle.com
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>